/*
 * Copyright (c) 2016, FPX and/or its affiliates. All rights reserved.
 * Use, Copy is subject to authorized license.
 */
package com.fpx.open.platform.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fpx.open.platform.dao.mapper1.InvokeLogMapper;
import com.fpx.open.platform.dao.mapper1.PrealertOrderMapper;
import com.fpx.open.platform.dao.mapper1.ProductMappingMapper;
import com.fpx.open.platform.domain.prealert.ProductMapping;
import com.fpx.open.platform.domain.vo.InvokeLogQuery;
import com.fpx.open.platform.service.SubjectiveOrderService;
import com.fpx.xms.api.base.model.InvokeLog;

/**
 * 
 * @author shiw
 * @date 2016年8月17日
 */
//@Service
public class SubjectiveOrderServiceImpl implements SubjectiveOrderService {

	@Resource
	ProductMappingMapper productMappingMapper;
	
	@Resource
	InvokeLogMapper invokeLogMapper;
	
	@Resource
	PrealertOrderMapper prealertOrderMapper;
	
	@Override
	public List<ProductMapping> queryProductMappingList() {
		return productMappingMapper.queryProductMappingList();
	}

	@Override
	public List<InvokeLog> queryInvokeLog(InvokeLogQuery invokeLogQuery) {
		return invokeLogMapper.queryInvokeLog(invokeLogQuery);
	}

	@Override
	public InvokeLog queryInvokeLog(Long id) {
		return invokeLogMapper.queryInvokeLogById(id);
	}

}
